dm: pci: Avoid using pci_bus_to_hose() in the uclass
authorSimon Glass <[email protected]>
Tue, 19 Jan 2016 03:19:16 +0000 (20:19 -0700)
committerBin Meng <[email protected]>
Sun, 24 Jan 2016 04:07:17 +0000 (12:07 +0800)
commit4439bc35aab0e7fc3126cf3914af09dbf85ad2ae
tree70baa93605d07d5987f28f31f8fa5a6550b42911
parent9d731c82f0b17ea31666b23e5685d3d2a8388a68
dm: pci: Avoid using pci_bus_to_hose() in the uclass

This function is only available for compatibility with old code. Avoid
using it in the uclass.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
drivers/pci/pci_auto.c